package com.hualan.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.beans.Transient;
import java.util.Date;

public class PanghuShoppingCart {
    /**
     * 购物车id
     */
    private Integer shoppingCartId;

    /**
     * 购物车商品id
     */
    private Integer shoppingCartGoodsId;

    /**
     * 购物车店铺id
     */
    private Integer shoppingCartShopId;

    /**
     * 用户id
     */
    private Integer shoppingCartUserId;

    /**
     * 购物车商品数量
     */
    private Integer shoppingCartGoodsNum;

    /**
     * 商品添加时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 购物车选中状态 0 未选， 1 已选
     */
    private Integer cartSelected;

    /**
     * 用户unionid
     */
    private String shoppingCartUserUnionid;


    private PanghuShopGoods shopGoods;

    /**
     * 获取购物车id
     *
     * @return shopping_cart_id - 购物车id
     */
    public Integer getShoppingCartId() {
        return shoppingCartId;
    }

    /**
     * 设置购物车id
     *
     * @param shoppingCartId 购物车id
     */
    public void setShoppingCartId(Integer shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    /**
     * 获取购物车商品id
     *
     * @return shopping_cart_goods_id - 购物车商品id
     */
    public Integer getShoppingCartGoodsId() {
        return shoppingCartGoodsId;
    }

    /**
     * 设置购物车商品id
     *
     * @param shoppingCartGoodsId 购物车商品id
     */
    public void setShoppingCartGoodsId(Integer shoppingCartGoodsId) {
        this.shoppingCartGoodsId = shoppingCartGoodsId;
    }

    /**
     * 获取购物车店铺id
     *
     * @return shopping_cart_shop_id - 购物车店铺id
     */
    public Integer getShoppingCartShopId() {
        return shoppingCartShopId;
    }

    /**
     * 设置购物车店铺id
     *
     * @param shoppingCartShopId 购物车店铺id
     */
    public void setShoppingCartShopId(Integer shoppingCartShopId) {
        this.shoppingCartShopId = shoppingCartShopId;
    }

    /**
     * 获取用户id
     *
     * @return shopping_cart_user_id - 用户id
     */
    public Integer getShoppingCartUserId() {
        return shoppingCartUserId;
    }

    /**
     * 设置用户id
     *
     * @param shoppingCartUserId 用户id
     */
    public void setShoppingCartUserId(Integer shoppingCartUserId) {
        this.shoppingCartUserId = shoppingCartUserId;
    }

    /**
     * 获取购物车商品数量
     *
     * @return shopping_cart_goods_num - 购物车商品数量
     */
    public Integer getShoppingCartGoodsNum() {
        return shoppingCartGoodsNum;
    }

    /**
     * 设置购物车商品数量
     *
     * @param shoppingCartGoodsNum 购物车商品数量
     */
    public void setShoppingCartGoodsNum(Integer shoppingCartGoodsNum) {
        this.shoppingCartGoodsNum = shoppingCartGoodsNum;
    }

    /**
     * 获取商品添加时间
     *
     * @return add_time - 商品添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置商品添加时间
     *
     * @param addTime 商品添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取购物车选中状态 0 未选， 1 已选
     *
     * @return cart_selected - 购物车选中状态 0 未选， 1 已选
     */
    public Integer getCartSelected() {
        return cartSelected;
    }

    /**
     * 设置购物车选中状态 0 未选， 1 已选
     *
     * @param cartSelected 购物车选中状态 0 未选， 1 已选
     */
    public void setCartSelected(Integer cartSelected) {
        this.cartSelected = cartSelected;
    }

    /**
     * 获取用户unionid
     *
     * @return shopping_cart_user_unionid - 用户unionid
     */
    public String getShoppingCartUserUnionid() {
        return shoppingCartUserUnionid;
    }

    /**
     * 设置用户unionid
     *
     * @param shoppingCartUserUnionid 用户unionid
     */
    public void setShoppingCartUserUnionid(String shoppingCartUserUnionid) {
        this.shoppingCartUserUnionid = shoppingCartUserUnionid;
    }

    public PanghuShopGoods getShopGoods() {
        return shopGoods;
    }

    public void setShopGoods(PanghuShopGoods shopGoods) {
        this.shopGoods = shopGoods;
    }
}